package com.homework4;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;

public class demo01 {
    public static void main(String[] args) throws IOException {
        FileInputStream fis = new FileInputStream(new File("E:\\东方标准\\JAVASE阶段\\JAVASE-CODE\\Day18\\h.txt"));
        int len = 0;
        while ((len = fis.read()) != -1) {
            System.out.println((char) len);
        }
    }
}
